export const routes = [
  {
    path: '/',
    name: '主页',
    component: '@/layouts/index',
    routes: [
      {
        name: 'index',
        path: '/',
        component: '@/pages/index',
      },
      {
        name: 'login',
        path: '/login',
        component: '@/pages/login',
      },
      {
        name: 'test',
        path: '/test',
        component: '@/pages/test',
      },
    ],
  },
];
